package qldc.pm.tienan.service.base;

import com.liferay.portal.kernel.bean.BeanReference;
import com.liferay.portal.kernel.bean.IdentifiableBean;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
import com.liferay.portal.kernel.dao.orm.Projection;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.search.Indexable;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.model.PersistedModel;
import com.liferay.portal.service.BaseLocalServiceImpl;
import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil;
import com.liferay.portal.service.persistence.UserPersistence;

import qldc.pm.tienan.model.TEMP_PhieuThongTinVeNguoiCoTienAn;
import qldc.pm.tienan.service.TEMP_PhieuThongTinVeNguoiCoTienAnLocalService;
import qldc.pm.tienan.service.persistence.BienBanBanGiaoHoSoPersistence;
import qldc.pm.tienan.service.persistence.CongViecBanGiaoPersistence;
import qldc.pm.tienan.service.persistence.DoiTuongTienAnFinder;
import qldc.pm.tienan.service.persistence.DoiTuongTienAnPersistence;
import qldc.pm.tienan.service.persistence.KetQuaTrichLucFinder;
import qldc.pm.tienan.service.persistence.KetQuaTrichLucPersistence;
import qldc.pm.tienan.service.persistence.LichSuXoaAnTichFinder;
import qldc.pm.tienan.service.persistence.LichSuXoaAnTichPersistence;
import qldc.pm.tienan.service.persistence.PhieuThongTinVeNguoiCoTienAnPersistence;
import qldc.pm.tienan.service.persistence.TEMP_DoiTuongTienAnPersistence;
import qldc.pm.tienan.service.persistence.TEMP_PhieuThongTinVeNguoiCoTienAnPersistence;
import qldc.pm.tienan.service.persistence.TEMP_TienAnPersistence;
import qldc.pm.tienan.service.persistence.TangThuPersistence;
import qldc.pm.tienan.service.persistence.TienAnFinder;
import qldc.pm.tienan.service.persistence.TienAnPersistence;
import qldc.pm.tienan.service.persistence.YeuCauTrichLucFinder;
import qldc.pm.tienan.service.persistence.YeuCauTrichLucPersistence;

import java.io.Serializable;

import java.util.List;

import javax.sql.DataSource;

/**
 * Provides the base implementation for the t e m p_ phieu thong tin ve nguoi co tien an local service.
 *
 * <p>
 * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link qldc.pm.tienan.service.impl.TEMP_PhieuThongTinVeNguoiCoTienAnLocalServiceImpl}.
 * </p>
 *
 * @author Brian Wing Shun Chan
 * @see qldc.pm.tienan.service.impl.TEMP_PhieuThongTinVeNguoiCoTienAnLocalServiceImpl
 * @see qldc.pm.tienan.service.TEMP_PhieuThongTinVeNguoiCoTienAnLocalServiceUtil
 * @generated
 */
public abstract class TEMP_PhieuThongTinVeNguoiCoTienAnLocalServiceBaseImpl
    extends BaseLocalServiceImpl
    implements TEMP_PhieuThongTinVeNguoiCoTienAnLocalService, IdentifiableBean {
    @BeanReference(type = qldc.pm.tienan.service.BienBanBanGiaoHoSoLocalService.class)
    protected qldc.pm.tienan.service.BienBanBanGiaoHoSoLocalService bienBanBanGiaoHoSoLocalService;
    @BeanReference(type = BienBanBanGiaoHoSoPersistence.class)
    protected BienBanBanGiaoHoSoPersistence bienBanBanGiaoHoSoPersistence;
    @BeanReference(type = qldc.pm.tienan.service.CongViecBanGiaoLocalService.class)
    protected qldc.pm.tienan.service.CongViecBanGiaoLocalService congViecBanGiaoLocalService;
    @BeanReference(type = CongViecBanGiaoPersistence.class)
    protected CongViecBanGiaoPersistence congViecBanGiaoPersistence;
    @BeanReference(type = qldc.pm.tienan.service.DoiTuongTienAnLocalService.class)
    protected qldc.pm.tienan.service.DoiTuongTienAnLocalService doiTuongTienAnLocalService;
    @BeanReference(type = DoiTuongTienAnPersistence.class)
    protected DoiTuongTienAnPersistence doiTuongTienAnPersistence;
    @BeanReference(type = DoiTuongTienAnFinder.class)
    protected DoiTuongTienAnFinder doiTuongTienAnFinder;
    @BeanReference(type = qldc.pm.tienan.service.KetQuaTrichLucLocalService.class)
    protected qldc.pm.tienan.service.KetQuaTrichLucLocalService ketQuaTrichLucLocalService;
    @BeanReference(type = KetQuaTrichLucPersistence.class)
    protected KetQuaTrichLucPersistence ketQuaTrichLucPersistence;
    @BeanReference(type = KetQuaTrichLucFinder.class)
    protected KetQuaTrichLucFinder ketQuaTrichLucFinder;
    @BeanReference(type = qldc.pm.tienan.service.LichSuXoaAnTichLocalService.class)
    protected qldc.pm.tienan.service.LichSuXoaAnTichLocalService lichSuXoaAnTichLocalService;
    @BeanReference(type = LichSuXoaAnTichPersistence.class)
    protected LichSuXoaAnTichPersistence lichSuXoaAnTichPersistence;
    @BeanReference(type = LichSuXoaAnTichFinder.class)
    protected LichSuXoaAnTichFinder lichSuXoaAnTichFinder;
    @BeanReference(type = qldc.pm.tienan.service.PhieuThongTinVeNguoiCoTienAnLocalService.class)
    protected qldc.pm.tienan.service.PhieuThongTinVeNguoiCoTienAnLocalService phieuThongTinVeNguoiCoTienAnLocalService;
    @BeanReference(type = PhieuThongTinVeNguoiCoTienAnPersistence.class)
    protected PhieuThongTinVeNguoiCoTienAnPersistence phieuThongTinVeNguoiCoTienAnPersistence;
    @BeanReference(type = qldc.pm.tienan.service.PhucHoiTienAnLocalService.class)
    protected qldc.pm.tienan.service.PhucHoiTienAnLocalService phucHoiTienAnLocalService;
    @BeanReference(type = qldc.pm.tienan.service.SaoLuuTienAnLocalService.class)
    protected qldc.pm.tienan.service.SaoLuuTienAnLocalService saoLuuTienAnLocalService;
    @BeanReference(type = qldc.pm.tienan.service.TangThuLocalService.class)
    protected qldc.pm.tienan.service.TangThuLocalService tangThuLocalService;
    @BeanReference(type = TangThuPersistence.class)
    protected TangThuPersistence tangThuPersistence;
    @BeanReference(type = qldc.pm.tienan.service.TEMP_DoiTuongTienAnLocalService.class)
    protected qldc.pm.tienan.service.TEMP_DoiTuongTienAnLocalService temp_DoiTuongTienAnLocalService;
    @BeanReference(type = TEMP_DoiTuongTienAnPersistence.class)
    protected TEMP_DoiTuongTienAnPersistence temp_DoiTuongTienAnPersistence;
    @BeanReference(type = qldc.pm.tienan.service.TEMP_PhieuThongTinVeNguoiCoTienAnLocalService.class)
    protected qldc.pm.tienan.service.TEMP_PhieuThongTinVeNguoiCoTienAnLocalService temp_PhieuThongTinVeNguoiCoTienAnLocalService;
    @BeanReference(type = TEMP_PhieuThongTinVeNguoiCoTienAnPersistence.class)
    protected TEMP_PhieuThongTinVeNguoiCoTienAnPersistence temp_PhieuThongTinVeNguoiCoTienAnPersistence;
    @BeanReference(type = qldc.pm.tienan.service.TEMP_TienAnLocalService.class)
    protected qldc.pm.tienan.service.TEMP_TienAnLocalService temp_TienAnLocalService;
    @BeanReference(type = TEMP_TienAnPersistence.class)
    protected TEMP_TienAnPersistence temp_TienAnPersistence;
    @BeanReference(type = qldc.pm.tienan.service.TienAnLocalService.class)
    protected qldc.pm.tienan.service.TienAnLocalService tienAnLocalService;
    @BeanReference(type = TienAnPersistence.class)
    protected TienAnPersistence tienAnPersistence;
    @BeanReference(type = TienAnFinder.class)
    protected TienAnFinder tienAnFinder;
    @BeanReference(type = qldc.pm.tienan.service.YeuCauTrichLucLocalService.class)
    protected qldc.pm.tienan.service.YeuCauTrichLucLocalService yeuCauTrichLucLocalService;
    @BeanReference(type = YeuCauTrichLucPersistence.class)
    protected YeuCauTrichLucPersistence yeuCauTrichLucPersistence;
    @BeanReference(type = YeuCauTrichLucFinder.class)
    protected YeuCauTrichLucFinder yeuCauTrichLucFinder;
    @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
    protected com.liferay.counter.service.CounterLocalService counterLocalService;
    @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
    protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
    @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
    protected com.liferay.portal.service.UserLocalService userLocalService;
    @BeanReference(type = com.liferay.portal.service.UserService.class)
    protected com.liferay.portal.service.UserService userService;
    @BeanReference(type = UserPersistence.class)
    protected UserPersistence userPersistence;
    private String _beanIdentifier;
    private ClassLoader _classLoader;
    private TEMP_PhieuThongTinVeNguoiCoTienAnLocalServiceClpInvoker _clpInvoker = new TEMP_PhieuThongTinVeNguoiCoTienAnLocalServiceClpInvoker();

    /*
     * NOTE FOR DEVELOPERS:
     *
     * Never modify or reference this class directly. Always use {@link qldc.pm.tienan.service.TEMP_PhieuThongTinVeNguoiCoTienAnLocalServiceUtil} to access the t e m p_ phieu thong tin ve nguoi co tien an local service.
     */

    /**
     * Adds the t e m p_ phieu thong tin ve nguoi co tien an to the database. Also notifies the appropriate model listeners.
     *
     * @param temp_PhieuThongTinVeNguoiCoTienAn the t e m p_ phieu thong tin ve nguoi co tien an
     * @return the t e m p_ phieu thong tin ve nguoi co tien an that was added
     * @throws SystemException if a system exception occurred
     */
    @Indexable(type = IndexableType.REINDEX)
    @Override
    public TEMP_PhieuThongTinVeNguoiCoTienAn addTEMP_PhieuThongTinVeNguoiCoTienAn(
        TEMP_PhieuThongTinVeNguoiCoTienAn temp_PhieuThongTinVeNguoiCoTienAn)
        throws SystemException {
        temp_PhieuThongTinVeNguoiCoTienAn.setNew(true);

        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.update(temp_PhieuThongTinVeNguoiCoTienAn);
    }

    /**
     * Creates a new t e m p_ phieu thong tin ve nguoi co tien an with the primary key. Does not add the t e m p_ phieu thong tin ve nguoi co tien an to the database.
     *
     * @param phieuThongTinVeNguoiCoTienAnId the primary key for the new t e m p_ phieu thong tin ve nguoi co tien an
     * @return the new t e m p_ phieu thong tin ve nguoi co tien an
     */
    @Override
    public TEMP_PhieuThongTinVeNguoiCoTienAn createTEMP_PhieuThongTinVeNguoiCoTienAn(
        long phieuThongTinVeNguoiCoTienAnId) {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.create(phieuThongTinVeNguoiCoTienAnId);
    }

    /**
     * Deletes the t e m p_ phieu thong tin ve nguoi co tien an with the primary key from the database. Also notifies the appropriate model listeners.
     *
     * @param phieuThongTinVeNguoiCoTienAnId the primary key of the t e m p_ phieu thong tin ve nguoi co tien an
     * @return the t e m p_ phieu thong tin ve nguoi co tien an that was removed
     * @throws PortalException if a t e m p_ phieu thong tin ve nguoi co tien an with the primary key could not be found
     * @throws SystemException if a system exception occurred
     */
    @Indexable(type = IndexableType.DELETE)
    @Override
    public TEMP_PhieuThongTinVeNguoiCoTienAn deleteTEMP_PhieuThongTinVeNguoiCoTienAn(
        long phieuThongTinVeNguoiCoTienAnId)
        throws PortalException, SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.remove(phieuThongTinVeNguoiCoTienAnId);
    }

    /**
     * Deletes the t e m p_ phieu thong tin ve nguoi co tien an from the database. Also notifies the appropriate model listeners.
     *
     * @param temp_PhieuThongTinVeNguoiCoTienAn the t e m p_ phieu thong tin ve nguoi co tien an
     * @return the t e m p_ phieu thong tin ve nguoi co tien an that was removed
     * @throws SystemException if a system exception occurred
     */
    @Indexable(type = IndexableType.DELETE)
    @Override
    public TEMP_PhieuThongTinVeNguoiCoTienAn deleteTEMP_PhieuThongTinVeNguoiCoTienAn(
        TEMP_PhieuThongTinVeNguoiCoTienAn temp_PhieuThongTinVeNguoiCoTienAn)
        throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.remove(temp_PhieuThongTinVeNguoiCoTienAn);
    }

    @Override
    public DynamicQuery dynamicQuery() {
        Class<?> clazz = getClass();

        return DynamicQueryFactoryUtil.forClass(TEMP_PhieuThongTinVeNguoiCoTienAn.class,
            clazz.getClassLoader());
    }

    /**
     * Performs a dynamic query on the database and returns the matching rows.
     *
     * @param dynamicQuery the dynamic query
     * @return the matching rows
     * @throws SystemException if a system exception occurred
     */
    @Override
    @SuppressWarnings("rawtypes")
    public List dynamicQuery(DynamicQuery dynamicQuery)
        throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.findWithDynamicQuery(dynamicQuery);
    }

    /**
     * Performs a dynamic query on the database and returns a range of the matching rows.
     *
     * <p>
     * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link qldc.pm.tienan.model.impl.TEMP_PhieuThongTinVeNguoiCoTienAnModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
     * </p>
     *
     * @param dynamicQuery the dynamic query
     * @param start the lower bound of the range of model instances
     * @param end the upper bound of the range of model instances (not inclusive)
     * @return the range of matching rows
     * @throws SystemException if a system exception occurred
     */
    @Override
    @SuppressWarnings("rawtypes")
    public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
        throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.findWithDynamicQuery(dynamicQuery,
            start, end);
    }

    /**
     * Performs a dynamic query on the database and returns an ordered range of the matching rows.
     *
     * <p>
     * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link qldc.pm.tienan.model.impl.TEMP_PhieuThongTinVeNguoiCoTienAnModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
     * </p>
     *
     * @param dynamicQuery the dynamic query
     * @param start the lower bound of the range of model instances
     * @param end the upper bound of the range of model instances (not inclusive)
     * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
     * @return the ordered range of matching rows
     * @throws SystemException if a system exception occurred
     */
    @Override
    @SuppressWarnings("rawtypes")
    public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
        OrderByComparator orderByComparator) throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.findWithDynamicQuery(dynamicQuery,
            start, end, orderByComparator);
    }

    /**
     * Returns the number of rows that match the dynamic query.
     *
     * @param dynamicQuery the dynamic query
     * @return the number of rows that match the dynamic query
     * @throws SystemException if a system exception occurred
     */
    @Override
    public long dynamicQueryCount(DynamicQuery dynamicQuery)
        throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.countWithDynamicQuery(dynamicQuery);
    }

    /**
     * Returns the number of rows that match the dynamic query.
     *
     * @param dynamicQuery the dynamic query
     * @param projection the projection to apply to the query
     * @return the number of rows that match the dynamic query
     * @throws SystemException if a system exception occurred
     */
    @Override
    public long dynamicQueryCount(DynamicQuery dynamicQuery,
        Projection projection) throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.countWithDynamicQuery(dynamicQuery,
            projection);
    }

    @Override
    public TEMP_PhieuThongTinVeNguoiCoTienAn fetchTEMP_PhieuThongTinVeNguoiCoTienAn(
        long phieuThongTinVeNguoiCoTienAnId) throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.fetchByPrimaryKey(phieuThongTinVeNguoiCoTienAnId);
    }

    /**
     * Returns the t e m p_ phieu thong tin ve nguoi co tien an with the primary key.
     *
     * @param phieuThongTinVeNguoiCoTienAnId the primary key of the t e m p_ phieu thong tin ve nguoi co tien an
     * @return the t e m p_ phieu thong tin ve nguoi co tien an
     * @throws PortalException if a t e m p_ phieu thong tin ve nguoi co tien an with the primary key could not be found
     * @throws SystemException if a system exception occurred
     */
    @Override
    public TEMP_PhieuThongTinVeNguoiCoTienAn getTEMP_PhieuThongTinVeNguoiCoTienAn(
        long phieuThongTinVeNguoiCoTienAnId)
        throws PortalException, SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.findByPrimaryKey(phieuThongTinVeNguoiCoTienAnId);
    }

    @Override
    public PersistedModel getPersistedModel(Serializable primaryKeyObj)
        throws PortalException, SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.findByPrimaryKey(primaryKeyObj);
    }

    /**
     * Returns a range of all the t e m p_ phieu thong tin ve nguoi co tien ans.
     *
     * <p>
     * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link qldc.pm.tienan.model.impl.TEMP_PhieuThongTinVeNguoiCoTienAnModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
     * </p>
     *
     * @param start the lower bound of the range of t e m p_ phieu thong tin ve nguoi co tien ans
     * @param end the upper bound of the range of t e m p_ phieu thong tin ve nguoi co tien ans (not inclusive)
     * @return the range of t e m p_ phieu thong tin ve nguoi co tien ans
     * @throws SystemException if a system exception occurred
     */
    @Override
    public List<TEMP_PhieuThongTinVeNguoiCoTienAn> getTEMP_PhieuThongTinVeNguoiCoTienAns(
        int start, int end) throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.findAll(start, end);
    }

    /**
     * Returns the number of t e m p_ phieu thong tin ve nguoi co tien ans.
     *
     * @return the number of t e m p_ phieu thong tin ve nguoi co tien ans
     * @throws SystemException if a system exception occurred
     */
    @Override
    public int getTEMP_PhieuThongTinVeNguoiCoTienAnsCount()
        throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.countAll();
    }

    /**
     * Updates the t e m p_ phieu thong tin ve nguoi co tien an in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
     *
     * @param temp_PhieuThongTinVeNguoiCoTienAn the t e m p_ phieu thong tin ve nguoi co tien an
     * @return the t e m p_ phieu thong tin ve nguoi co tien an that was updated
     * @throws SystemException if a system exception occurred
     */
    @Indexable(type = IndexableType.REINDEX)
    @Override
    public TEMP_PhieuThongTinVeNguoiCoTienAn updateTEMP_PhieuThongTinVeNguoiCoTienAn(
        TEMP_PhieuThongTinVeNguoiCoTienAn temp_PhieuThongTinVeNguoiCoTienAn)
        throws SystemException {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence.update(temp_PhieuThongTinVeNguoiCoTienAn);
    }

    /**
     * Returns the bien ban ban giao ho so local service.
     *
     * @return the bien ban ban giao ho so local service
     */
    public qldc.pm.tienan.service.BienBanBanGiaoHoSoLocalService getBienBanBanGiaoHoSoLocalService() {
        return bienBanBanGiaoHoSoLocalService;
    }

    /**
     * Sets the bien ban ban giao ho so local service.
     *
     * @param bienBanBanGiaoHoSoLocalService the bien ban ban giao ho so local service
     */
    public void setBienBanBanGiaoHoSoLocalService(
        qldc.pm.tienan.service.BienBanBanGiaoHoSoLocalService bienBanBanGiaoHoSoLocalService) {
        this.bienBanBanGiaoHoSoLocalService = bienBanBanGiaoHoSoLocalService;
    }

    /**
     * Returns the bien ban ban giao ho so persistence.
     *
     * @return the bien ban ban giao ho so persistence
     */
    public BienBanBanGiaoHoSoPersistence getBienBanBanGiaoHoSoPersistence() {
        return bienBanBanGiaoHoSoPersistence;
    }

    /**
     * Sets the bien ban ban giao ho so persistence.
     *
     * @param bienBanBanGiaoHoSoPersistence the bien ban ban giao ho so persistence
     */
    public void setBienBanBanGiaoHoSoPersistence(
        BienBanBanGiaoHoSoPersistence bienBanBanGiaoHoSoPersistence) {
        this.bienBanBanGiaoHoSoPersistence = bienBanBanGiaoHoSoPersistence;
    }

    /**
     * Returns the cong viec ban giao local service.
     *
     * @return the cong viec ban giao local service
     */
    public qldc.pm.tienan.service.CongViecBanGiaoLocalService getCongViecBanGiaoLocalService() {
        return congViecBanGiaoLocalService;
    }

    /**
     * Sets the cong viec ban giao local service.
     *
     * @param congViecBanGiaoLocalService the cong viec ban giao local service
     */
    public void setCongViecBanGiaoLocalService(
        qldc.pm.tienan.service.CongViecBanGiaoLocalService congViecBanGiaoLocalService) {
        this.congViecBanGiaoLocalService = congViecBanGiaoLocalService;
    }

    /**
     * Returns the cong viec ban giao persistence.
     *
     * @return the cong viec ban giao persistence
     */
    public CongViecBanGiaoPersistence getCongViecBanGiaoPersistence() {
        return congViecBanGiaoPersistence;
    }

    /**
     * Sets the cong viec ban giao persistence.
     *
     * @param congViecBanGiaoPersistence the cong viec ban giao persistence
     */
    public void setCongViecBanGiaoPersistence(
        CongViecBanGiaoPersistence congViecBanGiaoPersistence) {
        this.congViecBanGiaoPersistence = congViecBanGiaoPersistence;
    }

    /**
     * Returns the doi tuong tien an local service.
     *
     * @return the doi tuong tien an local service
     */
    public qldc.pm.tienan.service.DoiTuongTienAnLocalService getDoiTuongTienAnLocalService() {
        return doiTuongTienAnLocalService;
    }

    /**
     * Sets the doi tuong tien an local service.
     *
     * @param doiTuongTienAnLocalService the doi tuong tien an local service
     */
    public void setDoiTuongTienAnLocalService(
        qldc.pm.tienan.service.DoiTuongTienAnLocalService doiTuongTienAnLocalService) {
        this.doiTuongTienAnLocalService = doiTuongTienAnLocalService;
    }

    /**
     * Returns the doi tuong tien an persistence.
     *
     * @return the doi tuong tien an persistence
     */
    public DoiTuongTienAnPersistence getDoiTuongTienAnPersistence() {
        return doiTuongTienAnPersistence;
    }

    /**
     * Sets the doi tuong tien an persistence.
     *
     * @param doiTuongTienAnPersistence the doi tuong tien an persistence
     */
    public void setDoiTuongTienAnPersistence(
        DoiTuongTienAnPersistence doiTuongTienAnPersistence) {
        this.doiTuongTienAnPersistence = doiTuongTienAnPersistence;
    }

    /**
     * Returns the doi tuong tien an finder.
     *
     * @return the doi tuong tien an finder
     */
    public DoiTuongTienAnFinder getDoiTuongTienAnFinder() {
        return doiTuongTienAnFinder;
    }

    /**
     * Sets the doi tuong tien an finder.
     *
     * @param doiTuongTienAnFinder the doi tuong tien an finder
     */
    public void setDoiTuongTienAnFinder(
        DoiTuongTienAnFinder doiTuongTienAnFinder) {
        this.doiTuongTienAnFinder = doiTuongTienAnFinder;
    }

    /**
     * Returns the ket qua trich luc local service.
     *
     * @return the ket qua trich luc local service
     */
    public qldc.pm.tienan.service.KetQuaTrichLucLocalService getKetQuaTrichLucLocalService() {
        return ketQuaTrichLucLocalService;
    }

    /**
     * Sets the ket qua trich luc local service.
     *
     * @param ketQuaTrichLucLocalService the ket qua trich luc local service
     */
    public void setKetQuaTrichLucLocalService(
        qldc.pm.tienan.service.KetQuaTrichLucLocalService ketQuaTrichLucLocalService) {
        this.ketQuaTrichLucLocalService = ketQuaTrichLucLocalService;
    }

    /**
     * Returns the ket qua trich luc persistence.
     *
     * @return the ket qua trich luc persistence
     */
    public KetQuaTrichLucPersistence getKetQuaTrichLucPersistence() {
        return ketQuaTrichLucPersistence;
    }

    /**
     * Sets the ket qua trich luc persistence.
     *
     * @param ketQuaTrichLucPersistence the ket qua trich luc persistence
     */
    public void setKetQuaTrichLucPersistence(
        KetQuaTrichLucPersistence ketQuaTrichLucPersistence) {
        this.ketQuaTrichLucPersistence = ketQuaTrichLucPersistence;
    }

    /**
     * Returns the ket qua trich luc finder.
     *
     * @return the ket qua trich luc finder
     */
    public KetQuaTrichLucFinder getKetQuaTrichLucFinder() {
        return ketQuaTrichLucFinder;
    }

    /**
     * Sets the ket qua trich luc finder.
     *
     * @param ketQuaTrichLucFinder the ket qua trich luc finder
     */
    public void setKetQuaTrichLucFinder(
        KetQuaTrichLucFinder ketQuaTrichLucFinder) {
        this.ketQuaTrichLucFinder = ketQuaTrichLucFinder;
    }

    /**
     * Returns the lich su xoa an tich local service.
     *
     * @return the lich su xoa an tich local service
     */
    public qldc.pm.tienan.service.LichSuXoaAnTichLocalService getLichSuXoaAnTichLocalService() {
        return lichSuXoaAnTichLocalService;
    }

    /**
     * Sets the lich su xoa an tich local service.
     *
     * @param lichSuXoaAnTichLocalService the lich su xoa an tich local service
     */
    public void setLichSuXoaAnTichLocalService(
        qldc.pm.tienan.service.LichSuXoaAnTichLocalService lichSuXoaAnTichLocalService) {
        this.lichSuXoaAnTichLocalService = lichSuXoaAnTichLocalService;
    }

    /**
     * Returns the lich su xoa an tich persistence.
     *
     * @return the lich su xoa an tich persistence
     */
    public LichSuXoaAnTichPersistence getLichSuXoaAnTichPersistence() {
        return lichSuXoaAnTichPersistence;
    }

    /**
     * Sets the lich su xoa an tich persistence.
     *
     * @param lichSuXoaAnTichPersistence the lich su xoa an tich persistence
     */
    public void setLichSuXoaAnTichPersistence(
        LichSuXoaAnTichPersistence lichSuXoaAnTichPersistence) {
        this.lichSuXoaAnTichPersistence = lichSuXoaAnTichPersistence;
    }

    /**
     * Returns the lich su xoa an tich finder.
     *
     * @return the lich su xoa an tich finder
     */
    public LichSuXoaAnTichFinder getLichSuXoaAnTichFinder() {
        return lichSuXoaAnTichFinder;
    }

    /**
     * Sets the lich su xoa an tich finder.
     *
     * @param lichSuXoaAnTichFinder the lich su xoa an tich finder
     */
    public void setLichSuXoaAnTichFinder(
        LichSuXoaAnTichFinder lichSuXoaAnTichFinder) {
        this.lichSuXoaAnTichFinder = lichSuXoaAnTichFinder;
    }

    /**
     * Returns the phieu thong tin ve nguoi co tien an local service.
     *
     * @return the phieu thong tin ve nguoi co tien an local service
     */
    public qldc.pm.tienan.service.PhieuThongTinVeNguoiCoTienAnLocalService getPhieuThongTinVeNguoiCoTienAnLocalService() {
        return phieuThongTinVeNguoiCoTienAnLocalService;
    }

    /**
     * Sets the phieu thong tin ve nguoi co tien an local service.
     *
     * @param phieuThongTinVeNguoiCoTienAnLocalService the phieu thong tin ve nguoi co tien an local service
     */
    public void setPhieuThongTinVeNguoiCoTienAnLocalService(
        qldc.pm.tienan.service.PhieuThongTinVeNguoiCoTienAnLocalService phieuThongTinVeNguoiCoTienAnLocalService) {
        this.phieuThongTinVeNguoiCoTienAnLocalService = phieuThongTinVeNguoiCoTienAnLocalService;
    }

    /**
     * Returns the phieu thong tin ve nguoi co tien an persistence.
     *
     * @return the phieu thong tin ve nguoi co tien an persistence
     */
    public PhieuThongTinVeNguoiCoTienAnPersistence getPhieuThongTinVeNguoiCoTienAnPersistence() {
        return phieuThongTinVeNguoiCoTienAnPersistence;
    }

    /**
     * Sets the phieu thong tin ve nguoi co tien an persistence.
     *
     * @param phieuThongTinVeNguoiCoTienAnPersistence the phieu thong tin ve nguoi co tien an persistence
     */
    public void setPhieuThongTinVeNguoiCoTienAnPersistence(
        PhieuThongTinVeNguoiCoTienAnPersistence phieuThongTinVeNguoiCoTienAnPersistence) {
        this.phieuThongTinVeNguoiCoTienAnPersistence = phieuThongTinVeNguoiCoTienAnPersistence;
    }

    /**
     * Returns the phuc hoi tien an local service.
     *
     * @return the phuc hoi tien an local service
     */
    public qldc.pm.tienan.service.PhucHoiTienAnLocalService getPhucHoiTienAnLocalService() {
        return phucHoiTienAnLocalService;
    }

    /**
     * Sets the phuc hoi tien an local service.
     *
     * @param phucHoiTienAnLocalService the phuc hoi tien an local service
     */
    public void setPhucHoiTienAnLocalService(
        qldc.pm.tienan.service.PhucHoiTienAnLocalService phucHoiTienAnLocalService) {
        this.phucHoiTienAnLocalService = phucHoiTienAnLocalService;
    }

    /**
     * Returns the sao luu tien an local service.
     *
     * @return the sao luu tien an local service
     */
    public qldc.pm.tienan.service.SaoLuuTienAnLocalService getSaoLuuTienAnLocalService() {
        return saoLuuTienAnLocalService;
    }

    /**
     * Sets the sao luu tien an local service.
     *
     * @param saoLuuTienAnLocalService the sao luu tien an local service
     */
    public void setSaoLuuTienAnLocalService(
        qldc.pm.tienan.service.SaoLuuTienAnLocalService saoLuuTienAnLocalService) {
        this.saoLuuTienAnLocalService = saoLuuTienAnLocalService;
    }

    /**
     * Returns the tang thu local service.
     *
     * @return the tang thu local service
     */
    public qldc.pm.tienan.service.TangThuLocalService getTangThuLocalService() {
        return tangThuLocalService;
    }

    /**
     * Sets the tang thu local service.
     *
     * @param tangThuLocalService the tang thu local service
     */
    public void setTangThuLocalService(
        qldc.pm.tienan.service.TangThuLocalService tangThuLocalService) {
        this.tangThuLocalService = tangThuLocalService;
    }

    /**
     * Returns the tang thu persistence.
     *
     * @return the tang thu persistence
     */
    public TangThuPersistence getTangThuPersistence() {
        return tangThuPersistence;
    }

    /**
     * Sets the tang thu persistence.
     *
     * @param tangThuPersistence the tang thu persistence
     */
    public void setTangThuPersistence(TangThuPersistence tangThuPersistence) {
        this.tangThuPersistence = tangThuPersistence;
    }

    /**
     * Returns the t e m p_ doi tuong tien an local service.
     *
     * @return the t e m p_ doi tuong tien an local service
     */
    public qldc.pm.tienan.service.TEMP_DoiTuongTienAnLocalService getTEMP_DoiTuongTienAnLocalService() {
        return temp_DoiTuongTienAnLocalService;
    }

    /**
     * Sets the t e m p_ doi tuong tien an local service.
     *
     * @param temp_DoiTuongTienAnLocalService the t e m p_ doi tuong tien an local service
     */
    public void setTEMP_DoiTuongTienAnLocalService(
        qldc.pm.tienan.service.TEMP_DoiTuongTienAnLocalService temp_DoiTuongTienAnLocalService) {
        this.temp_DoiTuongTienAnLocalService = temp_DoiTuongTienAnLocalService;
    }

    /**
     * Returns the t e m p_ doi tuong tien an persistence.
     *
     * @return the t e m p_ doi tuong tien an persistence
     */
    public TEMP_DoiTuongTienAnPersistence getTEMP_DoiTuongTienAnPersistence() {
        return temp_DoiTuongTienAnPersistence;
    }

    /**
     * Sets the t e m p_ doi tuong tien an persistence.
     *
     * @param temp_DoiTuongTienAnPersistence the t e m p_ doi tuong tien an persistence
     */
    public void setTEMP_DoiTuongTienAnPersistence(
        TEMP_DoiTuongTienAnPersistence temp_DoiTuongTienAnPersistence) {
        this.temp_DoiTuongTienAnPersistence = temp_DoiTuongTienAnPersistence;
    }

    /**
     * Returns the t e m p_ phieu thong tin ve nguoi co tien an local service.
     *
     * @return the t e m p_ phieu thong tin ve nguoi co tien an local service
     */
    public qldc.pm.tienan.service.TEMP_PhieuThongTinVeNguoiCoTienAnLocalService getTEMP_PhieuThongTinVeNguoiCoTienAnLocalService() {
        return temp_PhieuThongTinVeNguoiCoTienAnLocalService;
    }

    /**
     * Sets the t e m p_ phieu thong tin ve nguoi co tien an local service.
     *
     * @param temp_PhieuThongTinVeNguoiCoTienAnLocalService the t e m p_ phieu thong tin ve nguoi co tien an local service
     */
    public void setTEMP_PhieuThongTinVeNguoiCoTienAnLocalService(
        qldc.pm.tienan.service.TEMP_PhieuThongTinVeNguoiCoTienAnLocalService temp_PhieuThongTinVeNguoiCoTienAnLocalService) {
        this.temp_PhieuThongTinVeNguoiCoTienAnLocalService = temp_PhieuThongTinVeNguoiCoTienAnLocalService;
    }

    /**
     * Returns the t e m p_ phieu thong tin ve nguoi co tien an persistence.
     *
     * @return the t e m p_ phieu thong tin ve nguoi co tien an persistence
     */
    public TEMP_PhieuThongTinVeNguoiCoTienAnPersistence getTEMP_PhieuThongTinVeNguoiCoTienAnPersistence() {
        return temp_PhieuThongTinVeNguoiCoTienAnPersistence;
    }

    /**
     * Sets the t e m p_ phieu thong tin ve nguoi co tien an persistence.
     *
     * @param temp_PhieuThongTinVeNguoiCoTienAnPersistence the t e m p_ phieu thong tin ve nguoi co tien an persistence
     */
    public void setTEMP_PhieuThongTinVeNguoiCoTienAnPersistence(
        TEMP_PhieuThongTinVeNguoiCoTienAnPersistence temp_PhieuThongTinVeNguoiCoTienAnPersistence) {
        this.temp_PhieuThongTinVeNguoiCoTienAnPersistence = temp_PhieuThongTinVeNguoiCoTienAnPersistence;
    }

    /**
     * Returns the t e m p_ tien an local service.
     *
     * @return the t e m p_ tien an local service
     */
    public qldc.pm.tienan.service.TEMP_TienAnLocalService getTEMP_TienAnLocalService() {
        return temp_TienAnLocalService;
    }

    /**
     * Sets the t e m p_ tien an local service.
     *
     * @param temp_TienAnLocalService the t e m p_ tien an local service
     */
    public void setTEMP_TienAnLocalService(
        qldc.pm.tienan.service.TEMP_TienAnLocalService temp_TienAnLocalService) {
        this.temp_TienAnLocalService = temp_TienAnLocalService;
    }

    /**
     * Returns the t e m p_ tien an persistence.
     *
     * @return the t e m p_ tien an persistence
     */
    public TEMP_TienAnPersistence getTEMP_TienAnPersistence() {
        return temp_TienAnPersistence;
    }

    /**
     * Sets the t e m p_ tien an persistence.
     *
     * @param temp_TienAnPersistence the t e m p_ tien an persistence
     */
    public void setTEMP_TienAnPersistence(
        TEMP_TienAnPersistence temp_TienAnPersistence) {
        this.temp_TienAnPersistence = temp_TienAnPersistence;
    }

    /**
     * Returns the tien an local service.
     *
     * @return the tien an local service
     */
    public qldc.pm.tienan.service.TienAnLocalService getTienAnLocalService() {
        return tienAnLocalService;
    }

    /**
     * Sets the tien an local service.
     *
     * @param tienAnLocalService the tien an local service
     */
    public void setTienAnLocalService(
        qldc.pm.tienan.service.TienAnLocalService tienAnLocalService) {
        this.tienAnLocalService = tienAnLocalService;
    }

    /**
     * Returns the tien an persistence.
     *
     * @return the tien an persistence
     */
    public TienAnPersistence getTienAnPersistence() {
        return tienAnPersistence;
    }

    /**
     * Sets the tien an persistence.
     *
     * @param tienAnPersistence the tien an persistence
     */
    public void setTienAnPersistence(TienAnPersistence tienAnPersistence) {
        this.tienAnPersistence = tienAnPersistence;
    }

    /**
     * Returns the tien an finder.
     *
     * @return the tien an finder
     */
    public TienAnFinder getTienAnFinder() {
        return tienAnFinder;
    }

    /**
     * Sets the tien an finder.
     *
     * @param tienAnFinder the tien an finder
     */
    public void setTienAnFinder(TienAnFinder tienAnFinder) {
        this.tienAnFinder = tienAnFinder;
    }

    /**
     * Returns the yeu cau trich luc local service.
     *
     * @return the yeu cau trich luc local service
     */
    public qldc.pm.tienan.service.YeuCauTrichLucLocalService getYeuCauTrichLucLocalService() {
        return yeuCauTrichLucLocalService;
    }

    /**
     * Sets the yeu cau trich luc local service.
     *
     * @param yeuCauTrichLucLocalService the yeu cau trich luc local service
     */
    public void setYeuCauTrichLucLocalService(
        qldc.pm.tienan.service.YeuCauTrichLucLocalService yeuCauTrichLucLocalService) {
        this.yeuCauTrichLucLocalService = yeuCauTrichLucLocalService;
    }

    /**
     * Returns the yeu cau trich luc persistence.
     *
     * @return the yeu cau trich luc persistence
     */
    public YeuCauTrichLucPersistence getYeuCauTrichLucPersistence() {
        return yeuCauTrichLucPersistence;
    }

    /**
     * Sets the yeu cau trich luc persistence.
     *
     * @param yeuCauTrichLucPersistence the yeu cau trich luc persistence
     */
    public void setYeuCauTrichLucPersistence(
        YeuCauTrichLucPersistence yeuCauTrichLucPersistence) {
        this.yeuCauTrichLucPersistence = yeuCauTrichLucPersistence;
    }

    /**
     * Returns the yeu cau trich luc finder.
     *
     * @return the yeu cau trich luc finder
     */
    public YeuCauTrichLucFinder getYeuCauTrichLucFinder() {
        return yeuCauTrichLucFinder;
    }

    /**
     * Sets the yeu cau trich luc finder.
     *
     * @param yeuCauTrichLucFinder the yeu cau trich luc finder
     */
    public void setYeuCauTrichLucFinder(
        YeuCauTrichLucFinder yeuCauTrichLucFinder) {
        this.yeuCauTrichLucFinder = yeuCauTrichLucFinder;
    }

    /**
     * Returns the counter local service.
     *
     * @return the counter local service
     */
    public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
        return counterLocalService;
    }

    /**
     * Sets the counter local service.
     *
     * @param counterLocalService the counter local service
     */
    public void setCounterLocalService(
        com.liferay.counter.service.CounterLocalService counterLocalService) {
        this.counterLocalService = counterLocalService;
    }

    /**
     * Returns the resource local service.
     *
     * @return the resource local service
     */
    public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
        return resourceLocalService;
    }

    /**
     * Sets the resource local service.
     *
     * @param resourceLocalService the resource local service
     */
    public void setResourceLocalService(
        com.liferay.portal.service.ResourceLocalService resourceLocalService) {
        this.resourceLocalService = resourceLocalService;
    }

    /**
     * Returns the user local service.
     *
     * @return the user local service
     */
    public com.liferay.portal.service.UserLocalService getUserLocalService() {
        return userLocalService;
    }

    /**
     * Sets the user local service.
     *
     * @param userLocalService the user local service
     */
    public void setUserLocalService(
        com.liferay.portal.service.UserLocalService userLocalService) {
        this.userLocalService = userLocalService;
    }

    /**
     * Returns the user remote service.
     *
     * @return the user remote service
     */
    public com.liferay.portal.service.UserService getUserService() {
        return userService;
    }

    /**
     * Sets the user remote service.
     *
     * @param userService the user remote service
     */
    public void setUserService(
        com.liferay.portal.service.UserService userService) {
        this.userService = userService;
    }

    /**
     * Returns the user persistence.
     *
     * @return the user persistence
     */
    public UserPersistence getUserPersistence() {
        return userPersistence;
    }

    /**
     * Sets the user persistence.
     *
     * @param userPersistence the user persistence
     */
    public void setUserPersistence(UserPersistence userPersistence) {
        this.userPersistence = userPersistence;
    }

    public void afterPropertiesSet() {
        Class<?> clazz = getClass();

        _classLoader = clazz.getClassLoader();

        PersistedModelLocalServiceRegistryUtil.register("qldc.pm.tienan.model.TEMP_PhieuThongTinVeNguoiCoTienAn",
            temp_PhieuThongTinVeNguoiCoTienAnLocalService);
    }

    public void destroy() {
        PersistedModelLocalServiceRegistryUtil.unregister(
            "qldc.pm.tienan.model.TEMP_PhieuThongTinVeNguoiCoTienAn");
    }

    /**
     * Returns the Spring bean ID for this bean.
     *
     * @return the Spring bean ID for this bean
     */
    @Override
    public String getBeanIdentifier() {
        return _beanIdentifier;
    }

    /**
     * Sets the Spring bean ID for this bean.
     *
     * @param beanIdentifier the Spring bean ID for this bean
     */
    @Override
    public void setBeanIdentifier(String beanIdentifier) {
        _beanIdentifier = beanIdentifier;
    }

    @Override
    public Object invokeMethod(String name, String[] parameterTypes,
        Object[] arguments) throws Throwable {
        Thread currentThread = Thread.currentThread();

        ClassLoader contextClassLoader = currentThread.getContextClassLoader();

        if (contextClassLoader != _classLoader) {
            currentThread.setContextClassLoader(_classLoader);
        }

        try {
            return _clpInvoker.invokeMethod(name, parameterTypes, arguments);
        } finally {
            if (contextClassLoader != _classLoader) {
                currentThread.setContextClassLoader(contextClassLoader);
            }
        }
    }

    protected Class<?> getModelClass() {
        return TEMP_PhieuThongTinVeNguoiCoTienAn.class;
    }

    protected String getModelClassName() {
        return TEMP_PhieuThongTinVeNguoiCoTienAn.class.getName();
    }

    /**
     * Performs an SQL query.
     *
     * @param sql the sql query
     */
    protected void runSQL(String sql) throws SystemException {
        try {
            DataSource dataSource = temp_PhieuThongTinVeNguoiCoTienAnPersistence.getDataSource();

            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
                    sql, new int[0]);

            sqlUpdate.update();
        } catch (Exception e) {
            throw new SystemException(e);
        }
    }
}
